package mang2many;

import java.util.HashSet;
import java.util.Set;

public class Role {
	private Integer id;
	private String name;
	private Set<Group> groups =new HashSet<Group>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<Group> getGroups() {
		return groups;
	}
	public void setGroups(Set<Group> groups) {
		this.groups = groups;
	}
}
